{template 'header'}
<style>
body {color: #000;font: 16px/1.5 Microsoft YaHei,Helvitica,Verdana,Tohoma,Arial,san-serif;}
#mcover{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.7);display:none;z-index:20000;}
#mcover img{position:fixed;right: 18px;top:5px;width:260px;height:180px;z-index:20001;}
#mbutton{padding:15px 0px; overflow:hidden;}
#xmbutton > span{float:right; display:inline-block;background:#58a3ff; border:1px #63a0eb solid;color:#FFF; height:30px;line-height:30px; padding:0 10px;margin-left:10px;}
#mbutton > span{display:inline-block; height:30px;line-height:30px; padding:0 10px;margin-left:10px;}
#mbutton > a {float:left; display:inline-block;color:#607fa6; height:30px;line-height:30px; padding:0 0px;margin-left:0px;}
#news > #mbutton {font-size:15px;}
#news {padding:0px 15px 5px 15px;margin:10px 0px;}
.main-title{font-size:24px;word-break:break-word;font-weight: 400;line-height:1.4;margin-bottom: 12px;}
.time{color:#8c8c8c;font-size:16px;font-variant:inherit;color:#ccc;line-height: 24px;margin-bottom: 18px;}
.time > a{color:#607fa6;}
.cover{width:100%;height:auto;overflow:hidden;}
.timg{background-size:cover;background-repeat:no-repeat;background-position:center;width:100%;height:100%;}
.con{font-size:16px;margin-bottom:8px;margin-top:5px;line-height:inherit;text-align:justify;height:auto;overflow:hidden;word-break:break-word;}
.con img {width:100%;}

@media screen and (min-width: 1024px) {
    .detail_container{width: 740px;margin-left: auto;margin-right: auto; }
    .main-title { padding-bottom:5px;border-bottom:1px solid #e7e7eb; }
}
</style>
<div class="detail_container">
{template 'adv_top'}
<div id="news">
  <div class="main-title">{$detail['title']}</div>
  <div class="time">
    {if $detail['adv_on_off']=='on'}
      {template 'adv_status'}
    {else}
    {php echo date('Y-m-d', $detail['createtime'])}&nbsp;&nbsp;<a href="{$detail['follow_url']}">{$_W['account']['name']}</a>
    {/if}
  </div>
  <div class="cover">
  </div>
  <div class="con">{$detail['content']}</div>

  <div id="mbutton">
    <a href="{php echo $this->createMobileUrl('list', array('cid'=>empty($detail['ccate']) ? $detail['pcate']:$detail['ccate']))}">阅读原文</a>
    <span style="color:#8c8c8c">阅读 {$detail['read_count']}</span>
  </div>
</div>
<!-- end news -->
<div style="display:none" id="mcover" onclick="$(this).hide()"><img src="../addons/xc_article/images/guide.png"></div>
<div class="clear"></div>
{template 'recommend'}
{template 'adv_bottom'}
</div>
{php $footer_off = true}
{template 'footer'}
